const expressJwt = require("express-jwt")
const pathConfig = require("../config/pathConfig")
//jwt中间件
const {secretKey} = require('../constant/constant');
const jwtAuth  = expressJwt({secret: secretKey}).unless({
    path:pathConfig.path
});
module.exports = jwtAuth;